﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Services
{
	public class ChartService
	{
		public IList<System.Collections.Generic.KeyValuePair<int, int>> GetPostsPerHour()
		{
			Repositories.ChartRepository chartRep = new Repositories.ChartRepository();

			return chartRep.GetPostsPerHour();

		}




		public IList<System.Collections.Generic.KeyValuePair<string, int>> GetPostsPerWeekday()
		{
			Repositories.ChartRepository chartRep = new Repositories.ChartRepository();

			return chartRep.GetPostsPerWeekday();

		}
	}
}
